package com.stox.ui.javafx.charting.model.enumeration;

import com.stox.ui.javafx.core.util.MessageSource;

public enum ChartType {

	LINE(MessageSource.getMessage("Line")),
	HLC(MessageSource.getMessage("Bar.hlc")),
	OHLC(MessageSource.getMessage("Bar.ohlc")),
	CANDLESTICK(MessageSource.getMessage("CandleStick")),
	POINT_AND_FIGURE(MessageSource.getMessage("Point.and.Figure")),
	SWING(MessageSource.getMessage("Swing"));
	
	private final String text;
	
	private ChartType(String text) {
		this.text = text;
	}
	
	public String getText() {
		return text;
	}
	
	@Override
	public String toString() {
		return getText();
	}
	
}
